{extend name="mainadmin@layouts/base" /}
{block name="main" }

<header class="header  b-b clearfix">
  <form id="forms" class="talbe-search form-inline "  method="post" action="{:url($is_cancel==true?'trashList':'getList')}" >
    <div class="page-breadcrumbs">
      <ul class="breadcrumb" >
        <li>
          <i class="fa fa-ellipsis-v"></i>
          <strong>{$title}</strong>
        </li>
      </ul>
      <a class="text-muted pull-right fr pointer m-t-md m-r" data-toggle="back" title="返回"><i class="fa fa-reply"></i></a>
    </div>
  </form>
</header>

<section class="scrollable wrapper w-f ">
  <div class="panel panel-default ">
    <table class="table m-b-none" style="font-size: 23px">
      <tbody><tr>
        <td>订单总金额：{$data.total_price} </td>
        <td>总佣金：{$data.total_commission} </td>
      </tr>
      </tbody></table>
  </div>
  <section class="panel panel-default ">
    <div class="table-responsive " id="list_box">
      <table class="table  table-hover  m-b-none">
        <tr>
          <th>ID</th>
          <th>会议名称</th>
          <th>下单用户</th>
          <th>导师</th>
          <th>商品</th>
          <th>订单号</th>
          <th>佣金</th>
          <th>佣金比例</th>
          <th>订单金额</th>
          <th>状态</th>
          <th width="180" >分佣时间</th>
        </tr>
        {volist name="data.list" id="vo" }
        <tr>
          <td>{$vo.id}</td>
          <td>{$vo.meeting_name}</td>
          <td>{$vo.nick_name} (ID:{$vo.from_uid})</td>
          <td>(ID:{$vo.user_id})</td>
          <td>{$vo.goods_name} (ID:{$vo.goods_id})</td>
          <td>{$vo.order_sn}</td>
          <td>{$vo.commission}</td>
          <td>{$vo.commission_scale}%</td>
          <td>{$vo.total_price}</td>
          <td>{$vo.status==1?'已到账':'未到账'}</td>
          <td>{$vo.add_time|dateTpl='Y-m-d H:i',true}</td>
        </tr>
        {/volist}
      </table>
      {empty name="data.list"}
      <table width="100%" >
        <tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
      </table>
      {/empty}
    </div>
  </section>
</section>

{/block}

{block name="footer" }
b
{/block}
